package com.miaoshaoproject.service;

import com.miaoshaoproject.error.BussinessException;
import com.miaoshaoproject.service.model.OrderModel;

public interface OrderService {
    //1、通过前端url上传过来秒杀活动id，然后下单接口内校验对应id是否属于对应商品且活动已开始
    OrderModel createOrder(Integer orderId,Integer itemId,Integer promoId,Integer amount,String stockLogId) throws BussinessException;
}
